package top.lixunda.ecommerce.server.business.api.entity;

/**
 * @author lixunda
 * @version time:2020/4/18 21:06
 */
public class BusinessKeyConstants {

    /* ******************************用户登录信息************************************* */
    /**
     * 当前管理员用户账户缓存
     */
    public static final String SESSION_CACHE_ADMIN_USER = "session.cache.ADMIN_USER";

    /**
     * 当前普通用户账户缓存
     */
    public static final String SESSION_CACHE_USER = "session.cache.USER";

    /**
     * 当前店铺用户账户缓存
     */
    public static final String SESSION_CACHE_STORE_USER = "session.cache.STORE_USER";

    /**
     * 当前登陆用户账户缓存
     */
    public static final String SESSION_CACHE_LOGIN_USER = "session.cache.LOGIN_USER";

    /**
     * 当前登陆用户店铺信息
     */
    public static final String SESSION_CACHE_STORE = "session.cache.STORE";

    /* ******************************图片验证码************************************* */
    /**
     * 图片验证码保存
     */
    public static final String SESSION_CACHE_CODE_IMAGE = "session.cache.codeImage.";

    /**
     * 图片验证码保存，登陆
     */
    public static final String SESSION_CACHE_CODE_IMAGE_LOGIN = SESSION_CACHE_CODE_IMAGE + "login";

    /**
     * 图片验证码保存，注册
     */
    public static final String SESSION_CACHE_CODE_IMAGE_REGISTER = SESSION_CACHE_CODE_IMAGE + "register";

    /**
     * 图片验证码保存，绑定账户
     */
    public static final String SESSION_CACHE_CODE_IMAGE_BINDING = SESSION_CACHE_CODE_IMAGE + "binding";

    /**
     * 图片验证码保存，取消绑定账户
     */
    public static final String SESSION_CACHE_CODE_IMAGE_UNBINDING = SESSION_CACHE_CODE_IMAGE + "unbinding";

    /**
     * 图片验证码保存，取消绑定账户
     */
    public static final String SESSION_CACHE_CODE_IMAGE_CHANGE_PASS = SESSION_CACHE_CODE_IMAGE + "changePass";


}
